import java.util.Scanner;
import java.util.Arrays;

public class d392 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String input, output;
		String[] spInput;
		Long currentNumber;
		Long summation;
		
		while(sc.hasNext()) {
			input = sc.nextLine();
			spInput = input.split(" ");
			
			summation = 0L;
			for(String str : spInput) {
				if(str.length() == 0) {
					continue;
				} else {
					currentNumber = Long.parseLong(str);
					summation += currentNumber;
				}
			}
			
			output = Long.toString(summation);
			
			System.out.println(output);
		} // next
	} // main
}